Component({
  /**
   * 组件的属性列表
   */
  properties: {
    // 是否是好友对战
    isFirend: {
      type: Boolean,
      value: false,
    },
    // 是否需要分享
    noShare: {
      type: Boolean,
      value: false,
    },
  },

  methods: {
    shopClose() {
      this.triggerEvent("shopClose");
    },

    closeRemind() {
      this.triggerEvent("closeRemind");
    },

    goHome() {
      wx.redirectTo({
        url: "../home/home",
      });
    },

    inviteNew() {
      this.triggerEvent("inviteNew");
    }
  }
})